package com.retirement;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/*配置类，读取oss为前缀的属性值（秘钥ID，秘钥，桶名称，域名站点等）*/

@Component
@ConfigurationProperties(prefix = "alioss")
@Data
public class AliOssProperties {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
}
